package top.korori.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 *
 * 前台用户所在地地区库
 *
 * @author korori
 */
@Getter
@Setter
@TableName("sv_user_area")
@ApiModel(value = "SvUserArea对象", description = "前台用户所在地地区库")
public class SvUserArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("地址ID")
    @TableId(value = "area_id", type = IdType.AUTO)
    private Integer areaId;

    @ApiModelProperty("地区名字")
    private String name;

    @ApiModelProperty("上级路径ID")
    private Integer parentId;

    @ApiModelProperty("顺序")
    private Integer sort;

    @ApiModelProperty("状态(0 正常 1 停用)")
    private Integer status;

}
